package com.z6school.manage.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**用户角色关系表*/
@Data
@Accessors(chain = true)
@TableName("user_role")
public class UserRole implements Serializable {
    /**编号ID*/
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**角色ID*/
    private Integer roleId;
    /**用户ID*/
    private Integer userId;
}
